const express = require("express");
const router = express.Router();
const foo = require("./handler-foo");

router.get("/foos", foo.foos);

router.get("/foo/:id", foo.foo);
router.post("/foo", foo.createFoo);
router.put("/foo/:id", foo.editFoo);

module.exports = router;
